package cn.edu.lcu.cs.javaprogramming.thread.ticketoffice.unsafe;

/**
 * 售票大厅
 *
 * @author ling
 * @date 2022/5/30 16:17
 */
public class TicketOffice {
    public static void main(String[] args) {
        TicketWindow window = new TicketWindow(20);
        new Thread(window, "1号窗口").start();
        new Thread(window, "2号窗口").start();
        new Thread(window, "3号窗口").start();
        new Thread(window, "4号窗口").start();
        new Thread(window, "5号窗口").start();
    }
}
